package pluginInterfaces;

import java.util.List;

import modelInterfaces.IEvent;
import modelInterfaces.IPrediction;

/**
 * Abstract class for compute error in error metrics. 
 * 
 * @author Andy Cullache
 */
public abstract class IPluginErrorMetric implements IPluginMetric {
	
	/**
	 * Compute the value of error from plugin implements.
	 * 
	 * @param hiddenEvents     Test set (from dataset).
	 * @param recommendationList      Set recommendation given by an recommendation algorithm.
	 * @return      Evaluation value of the error metric.
	 */
	public abstract double computeError(List<IEvent> hiddenEvents, List<IPrediction> recommendationList);
	
}
